<?php

namespace app\services\setting\admin;

use app\dao\setting\admin\SystemWebsiteDao;
use app\services\BaseService;

class SystemWebsiteService extends BaseService
{
    public function __construct(SystemWebsiteDao  $dao)
    {
        $this ->dao = $dao;
    }

    public function index(array $where)
    {
        return $this ->dao -> index($where);
    }

    public function create(array $where)
    {
        return $this -> dao -> create($where);
    }

    public function update(array $where)
    {
        return $this ->dao ->updateDao($where);
    }

    public function delete(array $where)
    {
        return $this -> dao -> deleteDao($where);
    }

}